import Frame from '@/frame/frame.vue'

export default { // 个人
  path: '/personal',
  name: 'personal',
  component: Frame,
  children: [
    // { path: 'my_coupon', name: '我的优惠券', component: () => import('@/views/personal_center/coupon/index.vue') },
    {
      path: 'business',
      name: '商家入驻',
      meta: {},
      component: () => import('@/views/personal_center/business/index.vue')
    },
    {
      path: 'help',
      name: '帮助中心',
      meta: {},
      component: () => import('@/views/personal_center/help/index.vue')
    },
    {
      path: 'help-details/:id',
      name: '帮助中心详情',
      meta: {},
      component: () => import('@/views/personal_center/help/help-details.vue')
    },
    {
      path: 'about',
      name: '关于美家美货',
      meta: {},
      component: () => import('@/views/personal_center/about/index.vue')
    },
    {
      path: 'privacy',
      name: '隐私协议',
      meta: {},
      component: () => import('@/views/personal_center/about/privacy.vue')
    },
    {
      path: 'vip_server',
      name: '美家美货会员服务协议',
      meta: {},
      component: () => import('@/views/pact/vip_server.vue')
    },
    {
      path: 'setting',
      name: '设置',
      meta: {},
      component: Frame,
      children: [
        {
          path: 'tutort',
          name: '营销导师',
          meta: {},
          component: () => import('@/views/personal_center/setting/tutor.vue')
        },
        {
          path: 'adviser',
          name: '我的专属顾问',
          meta: {},
          component: () => import('@/views/personal_center/setting/adviser.vue')
        }
      ]
    }
  ]
}
